package cn.ncu.wechat.service;

import cn.ncu.wechat.model.Banner;
import cn.ncu.wechat.util.Result;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
* @author 
* @description 针对表【banner(轮播图表)】的数据库操作Service
* @createDate 2025-01-07 16:05:53
*/
public interface BannerService extends IService<Banner> {

    Result addBanner(Map<String, Object> request);

    Result getBannerList(Integer page, Integer pageSize, Integer status);

    Result updateBanner(Long id, Map<String, Object> request);

    Result deleteBanner(Long id);

    Result sortBanner(Map<String, List<Long>> request);

    Result changeStatus(Long id, Integer status);

    Result deleteBanners(Map<String, List<Long>> request);

    Result getStatistics();
}
